﻿@model Project_KhuyenMaiVang.Models.MemberInfo
@{
    ViewBag.Title = "CapNhatThongTinCaNhan";
    Layout = "~/Views/Shared/_LayoutMember.cshtml";
}
<h2>
    <div align="center" class="TieuDeTheTable">
        CẬP NHẬT THÔNG TIN CÁ NHÂN</div>
</h2>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>
        @*<legend>Đơn đặt hàng</legend>*@
        <table width="358" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td colspan="2">
                    Tên khách hàng
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    @Html.TextBoxFor(model => model.TenKhachHang)
                </td>
            </tr>
            <tr>
                <td width="47%">
                    Địa chỉ
                </td>
                <td width="53%">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    @Html.TextBoxFor(model => model.DiaChi)
                </td>
            </tr>
            <tr>
                <td width="47%">
                    Tài khoản PayPal
                </td>
                <td width="53%">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    @Html.TextBoxFor(model => model.TaiKhoanPayPal)
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;                    
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    Mật khẩu hiện tại
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    @Html.PasswordFor(model => model.CurrentPassWord)
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    Mật khẩu mới
                </td>
                <td>
                    Xác nhận mật khẩu mới
                </td>
            </tr>
            <tr>
                <td>
                    @Html.PasswordFor(model => model.NewPassword1)
                </td>
                <td>
                    @Html.PasswordFor(model => model.NewPassword2)
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <hr />
                </td>
            </tr>
            <tr>
                <td>
                    <p>
                        <input type="submit" value="Lưu" />
                    </p>
                </td>
            </tr>
        </table>
    </fieldset>
}